home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 600 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  621 b 

  1. Path: isc-newsserver.isc.rit.edu!css0958
  2. From: css0958@osfmail.isc.rit.edu (SWANSON)
  3. Newsgroups: comp.lang.c
  4. Subject: Packing characters
  5. Date: 7 Jan 1996 19:28:29 GMT
  6. Organization: Rochester Institute of Technology, Rochester, NY
  7. Message-ID: <4cp6st$phk@news.isc.rit.edu>
  8. NNTP-Posting-Host: grace.isc.rit.edu
  9.  
  10. Problem: I have a value like this: XXX.YYY where the X and Y's
  11. are numbers, like in an ip address. The values are 0-255.
  12.  
  13. What is the best way to store them so they take up the least
  14. amount of room? Later I need to traansmit them in a packet
  15. header, so space is an issue.
  16.  
  17.  
  18. Thanks,
  19.  
  20. Carl
  21. css0958@grace.rit.edu
  22.  
  23.